<!--
 * @Description: 文件描述
 * @Author: 程前
 * @Date: 2024-12-30 11:10:50
 * @LastEditors: 程前
 * @LastEditTime: 2024-12-31 10:49:37
-->
<template>
    <div class="top-panel">
        <Fly v-if="moduleType === 'feixing'" />
    </div>
</template>

<script setup lang="ts">
import { onMounted, ref, computed } from "vue";
import { useCesiumGlobalStore } from "@/store/modules/cesiun-global"
import Fly from "./Fly.vue"

/**
 * 获取当前模块
 */
const cesiumGlobalStore = useCesiumGlobalStore()
const moduleType = computed(() => {
    return cesiumGlobalStore.moduleType
})
</script>


<style scoped lang="less">
.top-panel {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    height: fit-content;
}
</style>
